﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Communergy.Common
{

    /// <summary>
    /// Class for describing energy readings made in realtime - eg from a meter
    /// </summary>
    public class RealtimeEnergyReading
    {
        /// <summary>
        /// Gets or sets the reading date time.
        /// </summary>
        /// <value>The reading date time.</value>
        public DateTime ReadingDateTime { get; set; }
        /// <summary>
        /// Gets or sets the joules described by this reading - eg the <see cref="Watts"/> 
        /// multipied by the number of seconds it represents (the interval between reading times).
        /// </summary>
        /// <value>The joules.</value>
        public int Joules { get; set; }
        /// <summary>
        /// Gets or sets the watts for this reading.
        /// </summary>
        /// <value>The watts.</value>
        public int Watts { get; set; }
    }
}
